package com.xtm.exercise.base;

import cn.hutool.extra.spring.SpringUtil;
import com.xtm.exercise.service.LogisticsOrderService;
import org.junit.Test;

/***
 *@Author: 王磊
 *@CreateTime: 2024-08-29  20:26
 *@Description: TODO
 *@title: createBean
 */
public class CreateBean {

    @Test
    public void test01(){
        // 获取bean
        LogisticsOrderService logisticsOrderService = (LogisticsOrderService) SpringUtil.getBean("wlOrderService");
        logisticsOrderService.addOperateHistory();

    }
}
